Skip to content

chore(deps): allow OpenCV 5 in the STV extra - #35

Merged
carvalhochris merged 1 commit into
mainfrom
chore/stv-opencv-5
Nov 11, 2026
Merged

carvalhochris merged 1 commit into
mainfrom
chore/stv-opencv-5

Conversation

@carvalhochris

Copy link
Copy Markdown
Contributor

Context

The Ojin STV extra currently caps opencv-python-headless below 5. The LiveKit avatar integration needs the SDK metadata to permit OpenCV 5, so dependency resolution can use the newer version without dropping OpenCV 4 support. The default STV WebSocket decoder uses OpenCV to decode JPEG frames, so this change was checked against both supported major versions.

This is the prerequisite SDK release for a later dependency and lockfile update in the existing LiveKit Agents PR #7162. That LiveKit PR is not changed here.

Changes

  • Allow opencv-python-headless>=4.9,<6 in both the stv and dev extras.
  • Bump the SDK to 0.12.4 and document the change.
  • Refresh uv.lock to resolve OpenCV 5.0.0.93.

Validation

On macOS ARM64 with Python 3.12:

  • SDK non-integration suite: 310 passed with OpenCV 4.14.0.94 and 310 passed with OpenCV 5.0.0.93.
  • LiveKit Ojin plugin focused suite against the local 0.12.4 candidate and OpenCV 5: 7 passed.
  • Ruff format and lint checks passed; uv build produced the wheel and sdist.

This does not claim compatibility with OpenCV 6. Linux CI will provide additional platform validation.

Release impact

Merging this version bump to main triggers the SDK's automated PyPI release for 0.12.4. Existing consumers with pinned SDK versions are unaffected until their own dependency and lockfiles are updated. The LiveKit PR should be updated after 0.12.4 is available.

@carvalhochris
carvalhochris merged commit d2a9b81 into main Nov 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant